<template>
  <van-swipe lazy-render>
    <van-swipe-item v-for="image in swiperImg" :key="image.id">
      <img :src="image.swiper" />
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
  props: {
    swiperImg: {
      type: Array,
    },
  },
  setup() {},
};
</script>
<style scoped>
.my-swipe .van-swipe-item {
  font-size: 20px;
  line-height: 250px;
  text-align: center;
  /* background-color: #39a9ed; */
}
.van-swipe {
  height: 240px;
}
.van-swipe-item img {
  width: 100%;
  height: 250px;
}
</style>
